<?php


class Dongwu
{
	protected function jiao()
	{
		echo "jiao";
	}

	private function abc($value='')
	{
		echo "abc";
	}
}

class Dog extends Dongwu
{
	protected $name ="狗";
	private function jiao1()
	{
		echo 'dog jiao';
	}

	public function run()
	{
		$this->abc();
	}
	
}
class Cat extends Dongwu
{
	public $name ="猫";
}

$dog = new Dog();

echo $dog->run();